package com.msw.jcwapi.wb.wbjyz.mapper;

import com.msw.jcwapi.wb.wbdz.entity.Wbdz;
import com.msw.jcwapi.wb.wbjyz.entity.Wbjyz;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-04-01
 */
@Mapper
public interface WbjyzMapper extends BaseMapper<Wbjyz> {

    //通过工程id查询全部绝缘子
    public List<Wbjyz> listByProId(int id);

    //通过wbjyzid删除该绝缘子
    public boolean deleteById(int id);

    //编辑腕臂绝缘子(通过id编辑)
    public boolean Edit(Wbjyz wbjyz);

    //通过wbjyzid查询该底座的全部信息
    public Wbjyz listByWbjyzId(int id);

    //添加腕臂绝缘子
    public boolean add(Wbjyz wbjyz);
}
